﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ContactManager.Models.Entities;

namespace ContactManager.Tests.Models
{
	class ContactFake
	{
        static Contact contact = new Contact();
        public ContactFake() { }

        static public Contact ValidContact()
        {
            contact.Id =  new Guid("9e153a08-0ac1-4515-970f-a23fffe25b6d");

            DateTime dt = DateTime.Now;
            contact.DateEntered = dt;


            contact.FirstName = "Libardo";
            contact.LastName = "Suarez";
            contact.Phone = "00001";
            contact.Email = "lds@xtra.co.nz";
            contact.Age = 48;
            
            contact.GroupId = new Guid("57148697-3DEC-44B7-8177-01EDDB93F851");


            ContactGroup cg = new ContactGroup();

            cg.Id = contact.GroupId;
            cg.Name = "Family";

            contact.ContactGroup = cg;

            return contact;

        }
        static public Contact InvalidContactFirstName()
        {

           Contact _contact = ValidContact();
           _contact.FirstName = "";
            return _contact;

        }
	}
}
